package com.eorchis.module.signupdept.ui.commond;

import java.io.Serializable;

import com.eorchis.core.basedao.entity.IBaseEntity;
import com.eorchis.core.ui.commond.ICommond;
import com.eorchis.module.signupdept.domain.SignupDept;
import java.util.Date;

import org.hibernate.validator.constraints.NotBlank;


/**
 * Title: SignupDeptValidCommond<br>
 * Description: 报名单位ValidCommond<br>
 * Company: GoldGov<br>
 * Copyright @ 2012 GoldGov .All rights reserved.<br>
 * @author Max
 * @createDate 2014-12-29
 * @version $Revision$
 */
public class SignupDeptValidCommond implements ICommond {
	
	private SignupDept signupDept;
	
	public SignupDeptValidCommond(){
		signupDept = new SignupDept();
	}
	
	public SignupDeptValidCommond(SignupDept signupDept){
		this.signupDept = signupDept;
	}

	public Serializable getEntityID() {
		return signupDept.getId();
	}

	public IBaseEntity toEntity() {
		return signupDept;
	}

	/**
	 * 获取ID
	 */	
	@NotBlank
	public String getId() {
		return signupDept.getId();
	}
	/**
	 * 设置ID
	 */		
	public void setId(String id) {
		signupDept.setId(id);
	}
	/**
	 * 获取部门ID
	 */	
	public String getDepid() {
		return signupDept.getDepid();
	}
	/**
	 * 设置部门ID
	 */		
	public void setDepid(String depid) {
		signupDept.setDepid(depid);
	}
	/**
	 * 获取部门名称
	 */	
	public String getDepname() {
		return signupDept.getDepname();
	}
	/**
	 * 设置部门名称
	 */		
	public void setDepname(String depname) {
		signupDept.setDepname(depname);
	}
	/**
	 * 获取父级ID
	 */	
	public String getParentId() {
		return signupDept.getParentId();
	}
	/**
	 * 设置父级ID
	 */		
	public void setParentId(String parentId) {
		signupDept.setParentId(parentId);
	}
	/**
	 * 获取树路径
	 */	
	public String getTreepath() {
		return signupDept.getTreepath();
	}
	/**
	 * 设置树路径
	 */		
	public void setTreepath(String treepath) {
		signupDept.setTreepath(treepath);
	}
	
	
	
}
